﻿@model WebClientPlatform.Models.ConnectionModel
@{
    ViewBag.Title = "welcome";
}
@*<h2>字符串加密||解密</h2>*@
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@Html.ValidationSummary(true, "Encrypt or Decrypt was unsuccessful. Please correct the errors and try again.")
@using (Html.BeginForm())
{
    <div>
        <fieldset>
            <legend>Text Information</legend>
            <div class="editor-label">
                @Html.LabelFor(m => m.Text)
            </div>
            <div class="editor-field">
                @Html.TextAreaFor(m => m.Text)
                @Html.ValidationMessageFor(m => m.Text)
            </div>
            <div class="editor-label">
                @Html.LabelFor(m => m.ResultText)
            </div>
            <div class="editor-field">
                <textarea cols="20" id="ResultText" name="ResultText" rows="2">@Model.ResultText</textarea>
               
            </div>
            <div class="editor-label">
                @Html.CheckBoxFor(m => m.IsEncrypt, new { @checked = "checked" })
                @Html.LabelFor(m => m.IsEncrypt)
            </div>
            <p>
                <input type="submit" value="submit" />
            </p>
        </fieldset>
    </div>
}
